package org.ziwei.paipan;

import org.ziwei.paipan.var.DiZhi;
import org.ziwei.paipan.var.MiaoXian;
import org.ziwei.paipan.var.StarCode;

/**
 * 正曜：紫微及天府星系共十四正曜
 * 辅曜：左辅右弼，天魁天钺
 * 佐曜：文昌文曲，禄存天马
 * 煞曜：火星铃星，擎羊陀罗，地空地劫，前四个称为四煞
 * 化耀：化禄、化权、化科、化忌
 * 杂曜：天哭天虚，红鸾天喜等
 * 流曜：流禄、流羊、流陀、流魁、流钺、流马、流昌、流曲、流四化共计十二曜
 * 另有将前诸星、岁前诸星、博士前诸星三系流曜，专供小限推断
 */
public class Star {
	
	private StarCode starCode;
	
	private String starName;
	
	private DiZhi gongZhi;      //星曜所在宫支
	
	private MiaoXian starMX;    //庙陷
	
	private StarCode siHua;        //天盘四化
	
	private StarCode daYunSiHua;   //大运四化

	private StarCode liuNianSiHua;  //流年四化
	
	public Star(StarCode starCode, String starName){
		this.starCode = starCode;
		this.starName = starName;
	}
	
	public StarCode getStarCode() {
		return starCode;
	}

	public void setStarCode(StarCode starCode) {
		this.starCode = starCode;
	}

	public String getStarName() {
		return starName;
	}

	public void setStarName(String starName) {
		this.starName = starName;
	}
	
	public DiZhi getGongZhi() {
		return gongZhi;
	}

	public void setGongZhi(DiZhi gongZhi) {
		this.gongZhi = gongZhi;
	}
	
	public StarCode getSiHua() {
		return siHua;
	}

	public void setSiHua(StarCode siHua) {
		this.siHua = siHua;
	}

	public StarCode getDaYunSiHua() {
		return daYunSiHua;
	}

	public void setDaYunSiHua(StarCode daYunSiHua) {
		this.daYunSiHua = daYunSiHua;
	}

	public StarCode getLiuNianSiHua() {
		return liuNianSiHua;
	}

	public void setLiuNianSiHua(StarCode liuNianSiHua) {
		this.liuNianSiHua = liuNianSiHua;
	}

	public MiaoXian getStarMX() {
		return starMX;
	}

	public void setStarMX(MiaoXian starMX) {
		this.starMX = starMX;
	}

}
